/*
* This is a manifest file that'll be compiled into ketcher.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require ketcherails/ketcher-sprites
*/

li, menu, ul {
  list-style: none;
}

[role=toolbar] {
  margin: 0px;
}

[role=toolbar] li {
    display: inline-block;
    vertical-align: top;
}

body
{
    margin: 0;
    overflow: hidden;
}

body > div:first-child
{
    position: absolute;
    width: 100%;
    height: 100%;
}

a, img
{
    border-color: #E0E0E0;
    color: #E0E0E0;
    border-width: 0;
    vertical-align: middle;
}

#ketcher_window
{
    width: 100%;
    height: 100%;
    background-color: #E0E0E0;
    border-color: white;
    border-style: outset;
    border-width: thin;
}

#main_menu {
  width: 100%;
  display: inline-flex;
  position: absolute;
  left: 2px;
  top: 2px;
  background-color: #E0E0E0;
}

#toolbox {
  position: absolute;
  height: 100%;
  left: 3px;
  top: 40px;
  background-color: #E0E0E0;
}

#templates {
  position: absolute;
  width: 100%;
  bottom: 3px;
  left: 38px;
  background-color: #E0E0E0;
}

#elements {
  position: absolute;
  right: 3px;
  background-color: #E0E0E0;
  height: 100%;
  top: 40px;
}

#molecule_properties {
  font-family: arial;
  border-style: groove;

  input {
    margin-bottom: 5px;
  }
}

.dropdownButton
{
    cursor: pointer;
    position: absolute;
    margin-left: -5px;
    margin-top: 28px;
}

.toolButton, .sideButton
{
    cursor: pointer;
    border-color: #E8E8E8;
    border-width: thin;
    border-style: solid;
    background-color: #DADADA;
}

.dropdownIcon
{
    width: 24px;
    height: 24px;
}

.dropdownIconTemplate
{
    height: 64px;
}

.toolIcon
{
    width: 32px;
    height: 36px;
}

.toolButtonCell
{
    width: 36px;
}

.cellFlex {
  display: inline-flex;
}

select#zoom_list {
  margin-top: 8px;
}

.menuButtonCell
{
    height: 36px;
}

.sideButton
{
    width: 32px;
    height: 32px;
    padding: 1px;
}

.buttonHighlight
{
    border-color: white;
}

.buttonDisabled
{
    opacity: 0.25;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=25)";
    filter: alpha(opacity=25);
}

.toolDelimiter
{
    width: 16px;
}

.buttonPressed, .buttonSelected
{
  border-color: orange;
  border-radius: 2px;
  background-color: white;
  border-width: 1px;
}

.buttonSelected#amino_acids {
  background-color: #E0E0E0;
}

#client_area
{
    overflow: auto;
    background-color: white;
    border-color: #E0E0E0;
    border-style: inset;
    border-width: 1px;
    text-align: left;
    position: absolute;
    top: 40px;
    right: 40px;
    bottom: 36px;
    left: 40px;
}

#elem_table_area
{
    background-color:#E0E0E0;
    border-style: none;
}

#rgroup_table_area
{
    background-color:#E0E0E0;
    border-style: none;
}

#reagenerics_table_area
{
    background-color:#E0E0E0;
    border-style: none;
}

.dropdownList, .moleculePropertiesDialog
{
    position: absolute;
    z-index: 2;
    left: 6px;
    background-color: #FAFAFA;
    border-style: outset;
    border-width: thin;
    border-color: white
}

.dropdownList > table
{
    font-family: arial;
    font-size:   0.9em;
}

#selector_dropdown_list
{
    top: 37px;
}

#bond_dropdown_list
{
    top: 114px;
}

#template_dropdown_list
{
    top: 184px;
}

#commontemplate_dropdown_list, #usertemplate_dropdown_list, .commonTemplateDropdownList
{
  border-style: groove;
  top: 72px;
  left: 72px;
}

.moleculePropertiesDialog {
  top: 42px;
  left: 42px;
}

#reaction_dropdown_list
{
    top: 293px;
}

#rgroup_dropdown_list
{
    top: 378px;
}

#transform_dropdown_list
{
    top: 400px;
}

#polymer_dropdown_list {
  top: 470px;
}

.dropdownListItem
{
    cursor: default;
}

.dropdownListItemTemplate
{
    cursor: default;
}

.dropdownListItem > td > div
{
    float:  left;
    margin-right: 2px;
    margin-top : -3px;
}

.dropdownListDelimiter
{
    background-color: #C0C0C0;
    height: 2px;
}

.highlightedItem
{
    background-color: #C0C0C0;
}

#buffer_frame
{
    display: none;
}

input#input_label
{
    position: absolute;
    z-index:  3;
}

div#window_cover
{
    position: absolute;
    z-index:  4;
    background-color: black;
    left:     0;
    top:      0;
    opacity:    0.15;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";
    filter:     alpha(opacity=15);
}

div#loading
{
    width:  100%;
    height: 100%;
    background-image:    url('loading.gif');
    background-repeat:   no-repeat;
    background-position: center center;
}

.dialogWindow
{
    position: absolute;
    z-index:  5;
    background-color: #E0E0E0;
    border-color: #F0F0F0;
    border-style: outset;
    border-width: thin;
    padding: 4px;
    text-align: center;
    left:  10%;
    top:   10%;
}

.dialogWindow > div > div:first-child
{
    background-color: #D0D0D0;
}

.fileDialog
{
}

.elemTableDialog
{
    left:  5%;
    top:   5%;
}

.chemicalText
{
    width: 320px;
    height: 320px;
    overflow:    auto;
    white-space: pre;
}

.chemicalText_IE
{
    white-space: pre;
}

.dataSGroupValue
{
    width: 320px;
    height: 200px;
    overflow:    auto;
}

.propDialog
{
}

.aminoAcidsDialog {
  left:  10%;
  top:   45%;
}

.userTemplateDialog, .confirmDialog
{
  position: absolute;
  text-align: center;
  left:  45%;
  top:   45%;
}

#usertemplate_dropdown_list, #commontemplate_dropdown_list, .commonTemplateDropdownList
{
  max-height: 300px;
  overflow-y: scroll;
}

.aboutDialog
{
    position: absolute;
    z-index:  5;
    background-color: #FFFFFF;
    border-color: #F0F0F0;
    border-style: inset;
    border-width: normal;
    padding: 4px;
    text-align: center;
    left:  300px;
    top:   100px;
}

.aboutDialog > div > div:first-child
{
    background-color: #D0D0D0;
}

a.usertemplate-destroy-btn{
    float:right;
    cursor:pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 30px;
    background: #605F61;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 11px 3px;
}

a.usertemplate-destroy-btn:before {
    content: "×";
}
